package com.tedu.studentmanagement.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CourseDTO {
    @ApiModelProperty(value = "课程ID",required = true,example = "1234567891")
    private String id;
    @ApiModelProperty(value = "课程名",required = true,example = "高等数学")
    private String name;
    @ApiModelProperty(value = "课程学分",required = true,example = "2")
    private Double credits;
}
